{// 加载头部公共文件 }
<include file="Public:header" />
<style>
    .getpp h1 {
        background-image: url("images/bg_member_getPassword.jpg") !important;
    }
    .getpp h2 {
        border-bottom: 1px dotted #CCCCCC;
        color: #003399;
        font-size: 14px;
        font-weight: bold;
        height: 30px;
        line-height: 30px;
        margin: auto;
        text-align: left;
        width: 600px;
    }
    .getpp .tabpsw {
        margin: 10px auto;
        text-align: center;
        width: 600px;
    }
    .getpp .tabpsw * {
        vertical-align: middle;
    }
    .tabpsw td {
        padding: 5px;
    }
    table.tabpsw th {
        background: none repeat scroll 0 0 #FFFFFF;
        color: #003399;
        font-weight: normal;
        text-align: right;
    }
    table.tabpsw td {
        background: none repeat scroll 0 0 #FFFFFF;
        text-align: left;
    }
    .tdcenter {
        text-align: center !important;
    }
    .inputtext {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        border-color: #666666 #CCCCCC #CCCCCC #666666;
        border-image: none;
        border-right: 1px solid #CCCCCC;
        border-style: solid;
        border-width: 1px;
        height: 20px;
        line-height: 20px;
        vertical-align: middle;
    }
    .inputbutton {
        overflow: visible;
        padding: 0 14px 0 13px;
    }
</style>
<!--主体内容1-->
<div class="grid_16" style="margin-top:20px; margin-bottom:20px">
    <div class="" id="container">
        <div class="mode-a">
            <!-- mode-a-sid -->
            <div class="mode-a-sid">
                <dl id="LastestUpdate" class="box">
                    <dt><span>最近更新</span></dt>
                    <dd>
                        <ul class="txtList">
                            <volist name="latest" id="latest">
                                <li><img src="../Public/images/ontop8.gif"><a href="__URL__/read/id/{$latest.id}" title="{$latest.title}">{$latest.title|msubstr=0,15}</a></li>
                            </volist>
                        </ul>
                    </dd>
                </dl>

                <dl id="LastestUpdate" class="box">
                    <dt><span>热门点击</span></dt>
                    <dd>
                        <ul class="txtList">
                            <volist name="category" id="category">
                                <li><img src="../Public/images/ontop8.gif"><a href="__URL__/read/id/{$category.id}" title="{$category.title}">{$category.title|msubstr=0,15}</a></li>
                            </volist>
                        </ul>
                    </dd>
                </dl>
                <a href="__URL__/archive"><img src="../Public/images/dl.jpg" width="222px" /></a>
                <a href="__URL__/message"><img src="../Public/images/mes.jpg" width="222px" /></a>
                <a href="__URL__/signin"><img src="../Public/images/members.jpg" width="222px" /></a>
                <!-- end side -->
            </div>
            <!-- mode-a-main -->
            <div class="mode-a-main">

                <div class="articleList">

                    <div class="single getpp">
                        <form onsubmit="javascript:return validates();" action="__URL__/dosignup" method="post" name="form1">
                            <h2>新用户注册</h2>
                            <table class="tabpsw">
                                <tbody><tr>
                                        <th>首拼码</th>
                                        <td><input type="text" class="inputtext" id="spm" name="spm">(例:"zyz3")</td>
                                    </tr>
                                    <tr>
                                        <th>终身码</th>
                                        <td><input type="text" class="inputtext" id="zsm" name="zsm">(例:"zyz3")</td>
                                    </tr>
                                    <tr>
                                        <th>姓名</th>
                                        <td><input type="text" class="inputtext" id="uname" name="uname">(例:"张三")</td>
                                    </tr>
                                    <tr>
                                        <th>密码</th>
                                        <td><input type="text" class="inputtext" id="upass" name="upass">(6-15位数字与字母组合)</td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><input type="submit" class="inputbutton" id="BtnStep2" value="注册"></td>
                                    </tr>
                                </tbody></table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clear"></div>
<!--主体内容1-->
<script>
    function validates(){
        var spm = document.getElementById('spm').value;
        var zsm = document.getElementById('zsm').value;
        var uname = document.getElementById('uname').value;
        var upass = document.getElementById('upass').value;
        if(spm == '' || zsm == '' || uname == '' || upass.length < 6){
            alert('信息填写不完整,请检查重填!')
            return false;
        }
    }
</script>
{// 加载底部公共文件 }
<include file="Public:footer" />